<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>超长文本处理</title>
    <style>
       .text{
        width: 100px;
        overflow:hidden;
        text-overflow: ellipsis;
        white-space:nowrap;
       }
    </style>
</head>
<body>
     <div class="text">超长文本处理显示省略号</div>
</body>
</html>